<?php
/**
 * Created by PhpStorm.
 * User: lih
 * Date: 2018/4/22
 * Time: 10:19
 */

namespace common\components;

use Yii;

class Helper
{

    public function getApiVersion()
    {
        return "100";
    }

    /**
     * @return bool|string
     */
    public function getCommonPath()
    {
        // 分隔符：DIRECTORY_SEPARATOR
        $commonPath = Yii::getAlias("@common");
        return $commonPath;
    }

}